# Contributor: Dmitry Zakharchenko <dmitz@disroot.org>
# Maintainer: Dmitry Zakharchenko <dmitz@disroot.org>
pkgname=wmenu
pkgver=0.1.4
pkgrel=0
pkgdesc="Efficient dynamic menu for Wayland"
url="https://git.sr.ht/~adnano/wmenu"
arch="all"
license="MIT"
makedepends="meson
	libxkbcommon-dev
	pango-dev
	scdoc
	wayland-dev
	wayland-protocols
	"
options="!check" # no test suite
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://git.sr.ht/~adnano/wmenu/archive/$pkgver.tar.gz"

build() {
	abuild-meson \
		. output
	meson compile -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="
173f6419d35f2b61c8ef6c7760f9b9708d2a39cba96ef66602e282fa2d363c87f3eb7f57a60f407f25ca88096a1579a07b60a5446d46b58f4bfe05a3b131191e  wmenu-0.1.4.tar.gz
"
